import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/standard_home_risk_analysis_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/standard_home_risk_analysis_entity.g.dart';

/// 初始风险管控统计-剩余风险管控统计
@JsonSerializable()
class StandardHomeRiskAnalysisEntity {

	StandardHomeRiskAnalysisEntity();

	factory StandardHomeRiskAnalysisEntity.fromJson(Map<String, dynamic> json) => $StandardHomeRiskAnalysisEntityFromJson(json);
	String? companyName;
	int? emergencyPlanCount;
	int? initialRiskFour;
	int? initialRiskOne;
	int? initialRiskThree;
	int? initialRiskTwo;
	int? riskFour;
	int? riskMeasuresCount;
	int? riskOne;
	int? riskThree;
	int? riskTwo;
	int? safetyTrainingCount;
	int? total;

	Map<String, dynamic> toJson() => $StandardHomeRiskAnalysisEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
